package com.gongqi.gift.exception.code;

public enum StatusCode {
    CODE_200(200,"操作成功"),
    CODE_500(500,"系统繁忙，稍后再试"),
    CODE_400(4000001,"参数错误"),
    CODE_400_TENANT_EXIST(4000002,"店铺已经存在"),
    CODE_400_TENANT_ADMIN_EXIST(4000003,"店铺管理员已经存在");


        //枚举属性
    private int code;
    private String message;

    StatusCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
